package com.demo.dao;

import com.demo.model.TabMoneyShops;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TabMoneyShopsDao {

    int total_shops();
    int total_isv_shops();
    int countByExampleSearch(TabMoneyShops t);
    List<TabMoneyShops> searchByPage(TabMoneyShops t);
    boolean save(TabMoneyShops s);

    TabMoneyShops findById(String id);
    boolean update_is_pic(TabMoneyShops t);
    boolean update_is_not_pic(TabMoneyShops t);
    void update_isv(TabMoneyShops t);
    void update_flag(TabMoneyShops t);
    void update_isdel(String id);

    int countByExampleSearch_del(TabMoneyShops t);
    List<TabMoneyShops> searchByPage_del(TabMoneyShops t);
    void update_isdel_rec(String id);

}
